projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d418bd
)
Remove unnecessary blankp code
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 8 Jan 2017 18:06:41 +0000
(10:06 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 8 Jan 2017 18:07:00 +0000
(10:07 -0800)
* src/character.c (blankp): Remove redundant code that slows Emacs
down a bit. The caller already does the test.
src/character.c
patch
|
blob
|
history
diff --git
a/src/character.c
b/src/character.c
index bc99daf0df0059f3c6768a1f310f10405207828e..cf460540725e1dbf6e7d1fa4aff05fdee549e4d2 100644
(file)
--- a/
src/character.c
+++ b/
src/character.c
@@
-1043,11
+1043,6
@@
printablep (int c)
bool
blankp (int c)
{
- /* Fast path for ASCII characters that are always assumed to
- constitute horizontal whitespace. */
- if (c == ' ' || c == '\t')
- return true;
-
Lisp_Object category = CHAR_TABLE_REF (Vunicode_category_table, c);
if (! INTEGERP (category))
return false;